<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\url;
?>
<?= '<link rel="stylesheet" type="text/css" href="./ass/p/home/index.css?v='.date('Ymd').'"/>'?>
<script src="js/echarts.js"></script>
<div class="content">
    <div class="count box">
        <div class="title">
            系统信息
            <span>|</span>
            <span>服务器的配置信息</span>
        </div>
        <ul>
            <li>
                <i class="iconfont">&#xe60c;</i>
                &nbsp;&nbsp;
                <span>PHP<?= PHP_VERSION;?></span>
            </li>
            <li>
                <i class="iconfont">&#xe603;</i>
                &nbsp;&nbsp;
                <span>
                    <?php
                    $array=explode('/',$_SERVER['SERVER_SOFTWARE']);
                    echo $array[0];
                    ?>
                </span>
            </li>
            <li>
                <i class="iconfont">&#xe60d;</i>
                &nbsp;&nbsp;<span><?= php_uname('s');?></span>
            </li>
            <li><i class="iconfont">&#xe608;</i>
                &nbsp;&nbsp;IP:<span><?= $_SERVER['REMOTE_ADDR'];?></span>
            </li>
        </ul>
    </div>
    <div class="box">
        <form method="post" enctype="multipart/form-data">
            <div class="left-box">
                <div style="padding-bottom:15px;">
                    <label>联系电话：</label><input type="text" name="phone" class="input-text" value="<?= $data['phone'];?>"/>
                </div>
                <div style="padding-bottom:15px;">
                    <label>电子邮箱：</label><input type="text" name="email" class="input-text" value="<?= $data['email'];?>"/>
                </div>
            </div>
            <div style="clear:both;">
            </div>
            <input name="_csrf" type="hidden" id="_csrf" value="<?= Yii::$app->request->csrfToken ?>">
            <input type="submit" name="submit" value="修改" class="submit"/>
        </form>
        <div id="main" ></div>
    </div>
</div>